<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
    <title>Thymeleaf Example</title>
</head>
<body>
<form action="/model/save" th:action="@{/model/save}" method="post" th:object="${entity}">
    <input type="hidden" name="id" th:value="*{id}">
    <br>Account:</br>
    <input type="text" name="account" th:value="*{account}">
    <br/><br>Password:</br>
    <input type="text" name="password" th:value="*{password}">
    <br/><br>Name:</br>
    <input type="text" name="name" th:value="*{name}">
    <br/><br>Age:</br>
    <input type="text" name="age" th:value="*{age}">
    <br/><br>Sex:</br>
    <input type="text" name="sex" th:value="*{sex}">
    <br/>
    <input type="submit" value="Submit">
</form>
</body>
</html>